import coffeeshop.Beverage;
import coffeeshop.beverages.*;
import coffeeshop.condiments.*;


public class Main {
	static private void showSummary(Beverage beverage){
		System.out.println("Dring: " + beverage.getDescription() + "\nCost: " + String.format("%.2f", beverage.cost()));
		System.out.println("------------------------------");
	}
	
	public static void main(String[] args) {
		
		
		Beverage c1 = new McDonaldsCoffee();		
		c1 = new Sugar(c1);
		c1 = new Milk(c1);
		showSummary(c1);
		
		Beverage c2 = new McDonaldsCoffee();		
		c2 = new Sugar(c2);
		c2 = new Sugar(c2);
		c2 = new Sugar(c2);
		showSummary(c2);
		}
}
